package com.alks.function.data.request.biocontrol.deptwork;

import com.alks.entity.data.page.PageParam;
import com.alks.entity.deserializer.LocalDateTimeDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author MS
 * @since 2024/8/3上午11:50
 */
@Data
public class ProdTempRequest extends PageParam {

    @JsonDeserialize(using = LocalDateTimeDeserialize.class)
    @ApiModelProperty(value = "客户下单时间始")
    private LocalDateTime customOrderDateStart;

    @JsonDeserialize(using = LocalDateTimeDeserialize.class)
    @ApiModelProperty(value = "客户下单时间末")
    private LocalDateTime customOrderDateEnd;

    @ApiModelProperty(value = "品牌")
    private String brand;

    @ApiModelProperty(value = "工厂名称")
    private String vendorAbbr;

    @ApiModelProperty(value = "交期")
    private String deliveryDate;

    @ApiModelProperty(value = "货号")
    private String styleNo;

    @ApiModelProperty(value = "完成状态（0.未完成 1.已完成 不传查全部）")
    private Integer finalFlag;

    @ApiModelProperty(value = "工厂指令")
    private String factoryLotNo;

    @ApiModelProperty(value = "客户型体")
    private String custStyle;

    @ApiModelProperty(value = "大底厂商")
    private String soleVendor;

    @ApiModelProperty(value = "楦头编号")
    private String lastMold;

    @ApiModelProperty(value = "冲刀编号")
    private String cutTool;

    @ApiModelProperty(value = "大底编号")
    private String solePart;

    @ApiModelProperty(value = "排序字段（按返回参名字给我）")
    private String orderField;

    @ApiModelProperty(value = "1.正序 0.倒序")
    private Integer orderType;

    @ApiModelProperty(value = "分组字段（品牌-brand,工厂-vendorAbbr,交期-deliveryDate,货号-styleNo）按顺序传")
    private List<String> groupField;

}
